/**
 * Created by zhaojing on 2018/1/2.
 */

import Vue from 'vue';
import tpl from './tpl.html';
import lib from '../../../src/common/lib';
import InviteInfo from './components/InviteInfo/main'
export default Vue.extend({
    name: 'invite',
    template: tpl,
    data(){
        return {
            hasLogin:lib.isLogin()
        }
    },
    created() {

    },
    mounted(){


    },
    components: {
        InviteInfo
    },
    methods: {
        goLogin() {
            let fromPath = window.encodeURIComponent(window.location.href);
            window.location.href = './login.html?from=' + fromPath;
        }
    }
});
